package com.bootdo.wx.dao;

import com.bootdo.wx.domain.OrderBackDO;

import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Mapper;

/**
 * 退货记录表
 * @author chglee
 * @email 1992lcg@163.com
 * @date 2019-07-13 11:43:37
 */
@Mapper
public interface OrderBackDao {

	OrderBackDO get(String id);
	
	List<OrderBackDO> list(Map<String, Object> map);
	
	int count(Map<String, Object> map);
	
	int save(OrderBackDO orderBack);
	
	int update(OrderBackDO orderBack);
	
	int remove(String id);
	
	int batchRemove(String[] ids);

	int removeByOrder(String orderId);
}
